﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using D2.Pathfinder.Data;
using Common.MVVM.Core.Base;

namespace D2.PathfinderHub.ViewModel
{
    public class AlignmentViewModel : ViewModelBase<AlignmentDef>
    {
        public AlignmentViewModel(AlignmentDef model)
        {
            Model = model;
            DisplayName = model.Name;
        }

        public string Description
        {
            get { return Model.Description; }
            set
            {
                if (Model.Description == value) return;
                Model.Description = value;
                OnPropertyChanged("Description");
            }
        }
        
    }
}
